package com.hnichr.ump.talent.library.service.impl;

import com.hnichr.ump.common.talent.library.entity.SchoolList;
import com.hnichr.ump.common.talent.library.service.SchoolListService;
import com.mxpioframework.jpa.JpaUtil;
import com.mxpioframework.system.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
public class SchoolListServiceImpl extends BaseServiceImpl<SchoolList> implements SchoolListService {
    @Override
    @Transactional(readOnly = true)
    public List<SchoolList> listAll() {
        return JpaUtil.linq(SchoolList.class).list();
    }
}
